<!--


Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-->

<div id="homeContainer">
    <div class="row">
        <div class="col-lg-6 col-md-6 col-sm-12">
            <div class="login-panel panel panel-default">
                <div class="panel-body">
                    <form name="loginForm" role="form" ng-submit="login(credentials)" novalidate>
                        <div class="form-group">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
                                <input id="username" name="username" type="text" class="form-control" autocomplete="off" placeholder="Username" ng-model="credentials.username" rc-verify-set autofocus required>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
                                <input id="password" name="password" type="password" class="form-control" autocomplete="off" placeholder="Password" ng-model="credentials.password" rc-verify-set required>
                            </div>
                        </div>
                        <button type="submit" class="action-btn btn" ng-disabled="loginForm.$invalid">Log in &nbsp;&nbsp;<i class="fa fa-chevron-circle-right fa-lg"></i></button>
                        <button type="button" class="btn btn-link" ng-click="resetPassword()">Reset Password</button>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-lg-6 col-md-6 col-sm-12">
            <div ng-repeat="section in sections">
                <h4>{{section.header}}</h4>
                <p>{{section.description}}</p>
            </div>
        </div>
    </div>
</div>